package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 投标对象 bid
 * 
 * @author 李演
 * @date 2024-03-27
 */
public class Bid extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;
    /** 任务id */
    private Long taskId;

    /** 竞争者 */
    private Long employeeId;

    private Long state;

    /** 预期价格 */
    private BigDecimal expectedPrice;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    public BigDecimal getExpectedPrice() {
        return expectedPrice;
    }

    public void setExpectedPrice(BigDecimal expectedPrice) {
        this.expectedPrice = expectedPrice;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("employeeId", getEmployeeId())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("expectedPrice", getExpectedPrice())
            .append("state", getState())
            .toString();
    }
}
